xenstore: use common tdb record header in xenstore
authorJuergen Gross <jgross@suse.com>
Mon, 5 Dec 2016 07:48:44 +0000 (08:48 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 5 Dec 2016 11:21:35 +0000 (11:21 +0000)
commit2d41c050176bd9972d1c49c60a710e399045dc80
tree8c032adc57cab354888d29f4de2b6d12f5069f9a
parentb4b475c3ace316589fb9b68f9d4ee9425a1a2349
xenstore: use common tdb record header in xenstore

The layout of the tdb record of xenstored is defined at multiple
places: read_node(), write_node() and in xs_tdb_dump.c

Use a common structure instead.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/include/xenstore_lib.h
tools/xenstore/xenstored_core.c
tools/xenstore/xs_tdb_dump.c